<html xmlns:o="urn:schemas-microsoft-com:office:office" 
 xmlns:x="urn:schemas-microsoft-com:office:excel" 
 xmlns="http://www.w3.org/TR/REC-html40"> 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 <html> 
     <head> 
        <meta http-equiv="Content-type" content="text/html;charset=UTF-8" /> 
         <style id="Classeur1_16681_Styles"></style> 
     </head> 
     <body> 
<div id="Classeur1_16681" align=center x:publishsource="Excel"> 
<table x:str border=1 cellpadding=0 cellspacing=0 width="100%" style="border-collapse: collapse;border 1px #000 solid"> 
    <thead>
        <tr>
            <th colspan="4" height="50" style="text-align:center;font-size:20px;font-weight:bold;">公司名称</th>
        </tr>
    </thead>
    <tbody>
    <tr height="40">
        <th width="100"  style="text-align:center;font-weight:bold;">IMEI号</th>
        <td>{$info['imei']}</td>
        <th width="100"  style="text-align:center;font-weight:bold;">手机名称</th>
        <td>{$info['mobile_name']}</td> 
    </tr>
    <tr height="40">
        <th width="100"  style="text-align:center;font-weight:bold;">购买日期</th>
        <td>{if $info['shop_time']}{date('Y-m-d',$info['shop_time'])}{/if}</td>
        <th width="100"  style="text-align:center;font-weight:bold;">收货时间</th>
        <td>{if $info['address_time']}{date('Y-m-d',$info['address_time'])}{/if}</td> 
    </tr>
    <tr height="40">
        <th width="100"  style="text-align:center;font-weight:bold;">发货地址</th>
        <td>{$info['come_address']}</td>
        <th width="100"  style="text-align:center;font-weight:bold;">收货快递单号</th>
        <td>{$info['ems_sn']}</td> 
    </tr>
    <tr height="40">
        <th width="100"  style="text-align:center;font-weight:bold;">门店号</th>
        <td>{$info['supplier_code']}</td>
        <th width="100"  style="text-align:center;font-weight:bold;">附加门店号</th>
        <td>{$supplier_info['name']}</td>
    </tr>  
    <tr height="40">
        <th width="100"  style="text-align:center;font-weight:bold;">故障描述</th>
        <td colspan="3">{$info['fault_why']}</td>
    </tr>  
    <tr height="40">
        <td colspan="4"></td>
    </tr>
    <tr height="40">
        <th width="100"  style="text-align:center;font-weight:bold;">检测实际故障</th>
        <td colspan="3">{$info['failure_cause']}</td>
    </tr> 
    <tr height="40">
        <th width="100"  style="text-align:center;font-weight:bold;">使用物料</th>
        <td colspan="3">
        <table style="border 1px #000 solid" border=1 width="100%">
        <thead>
            <tr>
                <th class="fn-tac">产品名称</th>
                <th class="fn-tac">物料代码</th>
                <th class="fn-tac">物料名称</th>
            </tr>
        </thead>
        <tbody>
{loop $list $rs}
        <tr>
            <td class="fn-tac">{$rs['product']}</td>
            <td class="fn-tac">{$rs['code']}</td>
            <td class="fn-tac">{$rs['name']}</td>
        </tr>
{/loop}      
        </tbody>
        </table>
        </td>
    </tr> 
    <tr height="40">
        <th width="100"  style="text-align:center;font-weight:bold;">维修时间</th>
        <td>{if $info['service_time']}{date('Y-m-d',$info['service_time'])}{/if}</td>
        <th width="100"  style="text-align:center;font-weight:bold;">新IMEI号</th>
        <td>{if $info['is_news_phone']}{$info['new_imei']}{/if}</td>
    </tr>        
    <tr height="40">
        <th width="100"  style="text-align:center;font-weight:bold;">质检结论</th>
        <td>{$info['testing_text']}</td>
        <th width="100"  style="text-align:center;font-weight:bold;">检修员</th>
        <td>{$info['testing_admin_name']}</td>
    </tr>  
    <tr height="40">
        <td colspan="4"></td>
    </tr>
    <tr height="40">
        <th width="100"  style="text-align:center;font-weight:bold;">发货地址</th>
        <td>{$info['outwarehouse_address']}</td>
        <th width="100"  style="text-align:center;font-weight:bold;">发货快递号</th>
        <td>{$info['outwarehouse_ems_sn']}</td>
    </tr> 
    <tr height="40">
        <th width="100"  style="text-align:center;font-weight:bold;">发货时间</th>
        <td>{if $info['out_time']}{date('Y-m-d',$info['out_time'])}{/if}</td>
        <th width="100"  style="text-align:center;font-weight:bold;">库管员</th>
        <td>{$place_info['admin_name']}</td>
    </tr> 
    </tbody>
</table>
</div>
</body>
</html>